<?php
/**
 * @Author: Administrator
 * @Date:   2014-10-05 22:14:00
 * @Last Modified by:   Administrator
 * @Last Modified time: 2014-11-16 23:51:42
 */
class OpusdetailsControl extends CommonControl
{
	
	public function index()
	{
		//GET得到数据
		$opusid = intval($_GET['opusid']);
		$opusdb = K('Opus')->get_one_opus(array('opusid'=>$opusid));
		// var_dump($opusdb);
		$this->assign('opusdb',$opusdb);
		//查到用户数据
		$userdb = K('User')->get_one(array('uid'=>$opusdb['user_uid']),array('user_ico'));
		// var_dump($userdb);
		$this->assign('userdb',$userdb);
		$this->dis('Opusdetails.html');
	}
}